#include<stdio.h>

int main()
{
	int a,b;
	scnaf("%d%d",&a,&b);
	if(a*a+b*b>100)
	{
		printf("a*a+b*b:%d\n",a*a+b*b);
	}
	else
	printf("a+b:%d\n",a+b);
	
	return 0;
}